<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="description" content="Description">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
    <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
<div id="app"></div>
<script>
    window.$docsify = {
        name: '',
        // 开启右上角 Github 章鱼猫挂件，指定跳转链接
        repo: 'https://gitee.com/li-junxiang/studentdocument',
        loadSidebar: true,
        autoHeader: true,
        subMaxLevel: 6,
        // 导航栏参数
        loadNavbar: true,
        alias: {
          '/java/*': ''
        },
        // 小屏设备下合并导航栏到侧边栏。
        mergeNavbar: true,

        formatUpdated: '{YY}/{MM}/{DD} {HH}:{mm}',
        // formatUpdated: function(time) {
        //     // ...
        //
        //     return time;
        // },




        //全文检索
        search: 'auto', // 默认值
        // 完整配置参数
        search: {
            maxAge: 86400000,//过期时间,单位毫秒,默认一天
            // paths: [], // or 'auto'
            placeholder: '请输入搜索关键字',
            noData: '没有搜到呦!',
            depth: 2
        },

        count: {
            countable: true,
            fontsize: '0.9em',
            color: 'rgb(90,90,90)',
            language: 'chinese'
        },
        // docsify-copy-code (defaults)
        copyCode: {
            buttonText: '复制',
            errorText: '复制失败',
            successText: '复制成功'
        },
        plugins: [
            function(hook, vm) {
                hook.beforeEach(function(html) {
                    var url =
                        'https://github.com/docsifyjs/docsify/blob/master/docs/' +
                        vm.route.file;
                    var editHtml = '[📝 EDIT DOCUMENT](' + url + ')\n';

                    return (
                        html +
                        '\n----\n' +
                        '最后修改时间： {docsify-updated} ' +
                        editHtml
                    );
                });
            }
        ],


    }
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
<!--全文检索-->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<!--代码拷贝-->
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"></script>
<!--分页-->
<script src="//cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"></script>
<!--字数统计-->
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
<!--代码高亮-->
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-java.min.js"></script>

<!-- 侧边栏折叠 -->
<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.min.js"></script>
<!-- 缩放图片 -->
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script>
</body>
</html>
